package com.action.springboot.hcnet;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import static com.action.springboot.hcnet.HkController.hCNetSDK;

@Slf4j
@Component
public class Destroy {

//    @PreDestroy
    public void destroy() throws Exception {

        hCNetSDK.NET_DVR_Cleanup();
        log.info(" 销毁成功 ");

    }



}
